package cn.itcast.bos.service;

import cn.itcast.bos.domain.base.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

/**
 * Created by Think on 2017/9/16.
 */
public interface CourierService {
    public void save(Courier courier);
    public Page<Courier> findPageQuery(Pageable pageable);

    public Page<Courier> findPageQueryCondition(Specification<Courier> specification, Pageable pageable);

    public void deleteCourierById(String[] idArray);

    public void restoreCourierById(String[] idArray);

    public List<Courier> findnoassociation();

    public List<Courier> findAssociationCourier(String fixedAreaId);
}
